﻿<%@ Page Language="C#" MasterPageFile="~/Public.Master" AutoEventWireup="true" CodeBehind="registro.aspx.cs" Inherits="WC.UI.WebApp.registro" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Maestro Perú - Clientes</title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="cphMainHeader" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="cphMainBody" runat="server">    
    <div style="text-align:center; padding-left: 50px; padding-top: 10px;">
        <div id="msgError"><asp:Label ID="lblErrorMsg" runat="server" /></div>
        <table style="empty-cells:show; width: 800px;" cellpadding="3">
            <tr><th colspan="4" style="text-align: center; width:100%;">Ficha de inscripción del cliente</th></tr>
            <tr><td colspan="4" >&nbsp;</td></tr>
            <tr>
                <td style="text-align: left;">RUC</td>
                <td style="text-align: left;">
                    <asp:TextBox ID="txtRuc" runat="server" MaxLength="11" CssClass="mandatory" />
                </td>
                <td  style="width:20%; text-align: left">Tel&eacute;fono</td>
                <td  style="width:30%; text-align: left">
                    <asp:TextBox ID="txtTelefono" runat="server" />
                </td>
            </tr>
            <tr>
                <td style="text-align: left" >Raz&oacute;n Social</td>
                <td style="text-align: left" >
                    <asp:TextBox ID="txtNombre" runat="server" Width="200" CssClass="mandatory" />
                </td>
                <td style="text-align: left">Fax</td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtFax" runat="server" />
                </td>
            </tr>
            <tr>
                <td style="text-align: left" >Departamento</td>
                <td style="text-align: left" >
                    <asp:DropDownList ID="ddlDepartamento" runat="server" 
                        DataTextField="Descripcion" DataValueField="Codigo" Width="200" 
                        CssClass="mandatory" AutoPostBack="True" 
                        onselectedindexchanged="ddlDepartamento_SelectedIndexChanged" />
                </td>
                <td style="text-align: left">Giro del negocio</td>
                <td style="text-align: left">
                    <asp:DropDownList ID="ddlRamo" runat="server" DataTextField="Descripcion" DataValueField="Codigo" Width="200" />
                </td>
            </tr>
            <tr>
                <td style="text-align: left" >Provincia</td>
                <td style="text-align: left" >
                    <asp:DropDownList ID="ddlProvincia" runat="server" DataTextField="Descripcion" 
                        DataValueField="Codigo" Width="200" CssClass="mandatory" AutoPostBack="True" 
                        onselectedindexchanged="ddlProvincia_SelectedIndexChanged" />
                </td>
                <td style="text-align: left">Representante legal</td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtRepLegal" runat="server" Width="200" CssClass="mandatory" />
                </td>
            </tr>
            <tr>
                <td style="text-align: left" >Distrito</td>
                <td style="text-align: left" >
                    <asp:DropDownList ID="ddlDistrito" runat="server" DataTextField="Descripcion" 
                        DataValueField="Codigo" Width="200" CssClass="mandatory" 
                        onselectedindexchanged="ddlDistrito_SelectedIndexChanged" />
                </td>
                <td style="text-align: left">DNI</td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtDniRepLegal" runat="server" CssClass="mandatory" />
                </td>
            </tr>
            <tr>
                <td style="text-align: left" >Direcci&oacute;n</td>
                <td style="text-align: left" >
                    <asp:TextBox ID="txtDireccion" runat="server" Width="200" />
                </td>
                <td style="text-align: left">Responsable de compras</td>
                <td style="text-align: left">
                    <asp:TextBox ID="txtRespCompras" runat="server" Width="200" />
                </td>
            </tr>
            <tr>
                <td style="text-align: left" >Correo Electr&oacute;nico</td>
                <td style="text-align: left" >
                    <asp:TextBox ID="txtCorreo" runat="server" Width="200" />
                </td>
                <td style="text-align: left">Tienda de su preferencia</td>
                <td style="text-align: left">
                    <asp:DropDownList ID="ddlTienda" runat="server" DataTextField="Descripcion" DataValueField="Codigo" Width="200" CssClass="mandatory" />
                </td>
            </tr>
            <tr><td colspan="4">&nbsp;</td></tr>
            <tr>
                <td colspan="4" style="text-align: right;" >
                    <asp:Button ID="btnCancel" runat="server" Text="<< Regresar" OnClick="btnCancel_Click" />
                    <asp:Button ID="btnSubmit" runat="server" Text="Continuar >>" OnClick="btnSubmit_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="cphMainFooter" runat="server">
</asp:Content>